import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import City from "../city.vue";
import Collapse from "../collapse.vue";
import Tree from "../tree.vue"
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld},
    {
      path: '/city',
      name: 'city',
      component: City},
    {
      path: '/collapse',
      name: 'Collapse',
      component: Collapse},

    { path: '/tree',
  name: 'tree',
  component:Tree},
  ]
})
